﻿using System;
using System.Diagnostics;
using System.Threading;

namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {

            int _count = 0;

            Interlocked.Increment(ref _count);
            Debug.Assert(_count >= 0,"错误了");



            Console.WriteLine("Hello World!");

            Console.ReadLine();
        }
    }
}
